﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Space_Conquest
{
    class Metal : ResourceUnit
    {

        public static Texture _textureMetal = new Texture("Images/Resource/MetalThree.bmp");

        public Metal(int x, int y)
            : base(_textureMetal, x, y)
        {

            _maxHitPoints = 8000;
            _hitPoints = _maxHitPoints;
            _layer = UnitLayer.Ground;
            _area.Height = 1;
            _area.Width = 1;

            SetLocation();

        }

        public override void Render()
        {
            _sprite.Render(_texture);
        }

    }
}
